{% extends 'base.html' %}
{% load staticfiles %}
{% load aside %}
{% block content %}
    <div id="fulltext-result">
        <div class="ui items">
            {% fulltext_result results as datas %}
            {% for data in datas %}
                <div class="item">
                    <div class="item">
                        <div class="content">
                            <a class="ui small image" style="color: red">
                                {{ data|splice:"type" }}
                            </a> <a class="header" href="{{ data|splice:"href"   }}">{{ data|splice:"header" }}</a>
                            <div class="description">
                                <p>{{ data|splice:"content" |truncatechars:100 }}</p>
                            </div>
                        </div>
                    </div>
                </div>
            {% endfor %}
        </div>
    </div>
{% endblock %}